3.2103 \(\int \frac{a+b x+c x^2}{(d+e x)^3} \, dx\)

Optimal. Leaf size=62 \[ -\frac{a e^2-b d e+c d^2}{2 e^3 (d+e x)^2}+\frac{2 c d-b e}{e^3 (d+e x)}+\frac{c \log (d+e x)}{e^3} \]

[Out]

-(c*d^2 - b*d*e + a*e^2)/(2*e^3*(d + e*x)^2) + (2*c*d - b*e)/(e^3*(d + e*x)) + (
c*Log[d + e*x])/e^3

_______________________________________________________________________________________

Rubi [A]  time = 0.107176, antiderivative size = 62, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056 \[ -\frac{a e^2-b d e+c d^2}{2 e^3 (d+e x)^2}+\frac{2 c d-b e}{e^3 (d+e x)}+\frac{c \log (d+e x)}{e^3} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x + c*x^2)/(d + e*x)^3,x]

[Out]

-(c*d^2 - b*d*e + a*e^2)/(2*e^3*(d + e*x)^2) + (2*c*d - b*e)/(e^3*(d + e*x)) + (
c*Log[d + e*x])/e^3

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 16.479, size = 54, normalized size = 0.87 \[ \frac{c \log{\left (d + e x \right )}}{e^{3}} - \frac{b e - 2 c d}{e^{3} \left (d + e x\right )} - \frac{a e^{2} - b d e + c d^{2}}{2 e^{3} \left (d + e x\right )^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((c*x**2+b*x+a)/(e*x+d)**3,x)

[Out]

c*log(d + e*x)/e**3 - (b*e - 2*c*d)/(e**3*(d + e*x)) - (a*e**2 - b*d*e + c*d**2)
/(2*e**3*(d + e*x)**2)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0381676, size = 57, normalized size = 0.92 \[ \frac{-e (a e+b d+2 b e x)+c d (3 d+4 e x)+2 c (d+e x)^2 \log (d+e x)}{2 e^3 (d+e x)^2} \]

Antiderivative was successfully verified.

[In]  Integrate[(a + b*x + c*x^2)/(d + e*x)^3,x]

[Out]

(c*d*(3*d + 4*e*x) - e*(b*d + a*e + 2*b*e*x) + 2*c*(d + e*x)^2*Log[d + e*x])/(2*
e^3*(d + e*x)^2)

_______________________________________________________________________________________

Maple [A]  time = 0.009, size = 83, normalized size = 1.3 \[ -{\frac{a}{2\,e \left ( ex+d \right ) ^{2}}}+{\frac{bd}{2\,{e}^{2} \left ( ex+d \right ) ^{2}}}-{\frac{c{d}^{2}}{2\,{e}^{3} \left ( ex+d \right ) ^{2}}}+{\frac{c\ln \left ( ex+d \right ) }{{e}^{3}}}-{\frac{b}{{e}^{2} \left ( ex+d \right ) }}+2\,{\frac{cd}{{e}^{3} \left ( ex+d \right ) }} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((c*x^2+b*x+a)/(e*x+d)^3,x)

[Out]

-1/2/e/(e*x+d)^2*a+1/2*d/e^2/(e*x+d)^2*b-1/2*d^2/e^3/(e*x+d)^2*c+c*ln(e*x+d)/e^3
-1/e^2/(e*x+d)*b+2*c*d/e^3/(e*x+d)

_______________________________________________________________________________________

Maxima [A]  time = 0.794537, size = 96, normalized size = 1.55 \[ \frac{3 \, c d^{2} - b d e - a e^{2} + 2 \,{\left (2 \, c d e - b e^{2}\right )} x}{2 \,{\left (e^{5} x^{2} + 2 \, d e^{4} x + d^{2} e^{3}\right )}} + \frac{c \log \left (e x + d\right )}{e^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x + a)/(e*x + d)^3,x, algorithm="maxima")

[Out]

1/2*(3*c*d^2 - b*d*e - a*e^2 + 2*(2*c*d*e - b*e^2)*x)/(e^5*x^2 + 2*d*e^4*x + d^2
*e^3) + c*log(e*x + d)/e^3

_______________________________________________________________________________________

Fricas [A]  time = 0.198574, size = 117, normalized size = 1.89 \[ \frac{3 \, c d^{2} - b d e - a e^{2} + 2 \,{\left (2 \, c d e - b e^{2}\right )} x + 2 \,{\left (c e^{2} x^{2} + 2 \, c d e x + c d^{2}\right )} \log \left (e x + d\right )}{2 \,{\left (e^{5} x^{2} + 2 \, d e^{4} x + d^{2} e^{3}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x + a)/(e*x + d)^3,x, algorithm="fricas")

[Out]

1/2*(3*c*d^2 - b*d*e - a*e^2 + 2*(2*c*d*e - b*e^2)*x + 2*(c*e^2*x^2 + 2*c*d*e*x
+ c*d^2)*log(e*x + d))/(e^5*x^2 + 2*d*e^4*x + d^2*e^3)

_______________________________________________________________________________________

Sympy [A]  time = 2.7787, size = 68, normalized size = 1.1 \[ \frac{c \log{\left (d + e x \right )}}{e^{3}} - \frac{a e^{2} + b d e - 3 c d^{2} + x \left (2 b e^{2} - 4 c d e\right )}{2 d^{2} e^{3} + 4 d e^{4} x + 2 e^{5} x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x**2+b*x+a)/(e*x+d)**3,x)

[Out]

c*log(d + e*x)/e**3 - (a*e**2 + b*d*e - 3*c*d**2 + x*(2*b*e**2 - 4*c*d*e))/(2*d*
*2*e**3 + 4*d*e**4*x + 2*e**5*x**2)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.204117, size = 81, normalized size = 1.31 \[ c e^{\left (-3\right )}{\rm ln}\left ({\left | x e + d \right |}\right ) + \frac{{\left (2 \,{\left (2 \, c d - b e\right )} x +{\left (3 \, c d^{2} - b d e - a e^{2}\right )} e^{\left (-1\right )}\right )} e^{\left (-2\right )}}{2 \,{\left (x e + d\right )}^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x + a)/(e*x + d)^3,x, algorithm="giac")

[Out]

c*e^(-3)*ln(abs(x*e + d)) + 1/2*(2*(2*c*d - b*e)*x + (3*c*d^2 - b*d*e - a*e^2)*e
^(-1))*e^(-2)/(x*e + d)^2